import React from 'react';
import { Switch } from 'antd';
import { SwitchProps } from 'antd/lib/switch';
import './HYSwitch.less';
export interface SwitchProps extends SwitchProps {}
import ClassNames from "classnames";
class HYSwitch extends React.Component<SwitchProps, any> {
  constructor(props) {
    super(props);
  }

  render() {
    const {className, ...rest} = this.props;
    return <Switch className={ClassNames("hy-switch",className)} {...rest} />;
  }
}

export default HYSwitch;
